package com.example.warehouse.sys.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.warehouse.sys.pojo.entity.SysNotice;
import com.example.warehouse.sys.pojo.vo.NoticeListItemVO;
import com.example.warehouse.sys.pojo.vo.NoticeSelectVO;
import com.example.warehouse.sys.pojo.vo.NoticeStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 欧胤
 * @version 1.0
 * @description: TODO
 * @date 2023/7/6 17:46
 */
@Repository
public interface NoticeMapper extends BaseMapper<SysNotice> {
    NoticeStandardVO getStandardById(Long id);

    List<NoticeListItemVO> list();

    List<NoticeListItemVO> listByNotice(NoticeSelectVO notice);
    NoticeStandardVO getStandardByNotice(NoticeSelectVO notice);
}
